home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1998 August / macformat-066.iso / How-to's / Foreign Files / Creator Changer 2.8.4 / Code & Resource / Creator Changer.balloon.r < prev    next >
Encoding:
Text File  |  1997-07-18  |  3.9 KB  |  310 lines  |  [TEXT/KAHL]

  1. #include    "Types.r"
  2. #include    "BalloonTypes.r"
  3.  
  4. resource 'hfdr' (-5696,"Finder")
  5.     {
  6.     HelpMgrVersion,
  7.     hmDefaultOptions,
  8.     0,
  9.     0,
  10.         {
  11.         HMTEResItem
  12.             {
  13.             5000          // Text resource ID 
  14.             }
  15.         }
  16.     };
  17.  
  18. resource 'hmnu' (128,"Apple Menu")
  19.     {
  20.     HelpMgrVersion,
  21.     hmDefaultOptions,
  22.     0,
  23.     0,
  24.     HMSkipItem { },
  25.         {
  26.         HMStringResItem
  27.             {         // item 0:Apple Menu  
  28.             0,0,
  29.             0,0,
  30.             0,0,
  31.             0,0,
  32.             },
  33.         HMStringResItem
  34.             {         // item 1:About Creator Changer... 
  35.             1000,1,
  36.             1000,2,
  37.             0,0,
  38.             0,0
  39.             }
  40.         }
  41.     };
  42.  
  43. resource 'hmnu' (129,"File Menu")
  44.     {
  45.     HelpMgrVersion,
  46.     hmDefaultOptions,
  47.     0,
  48.     0,
  49.     HMSkipItem { },
  50.         {
  51.         HMStringResItem
  52.             {         // item 0:File Menu  
  53.             1001,1,
  54.             1001,2,
  55.             0,0,
  56.             0,0
  57.             },
  58.         HMStringResItem
  59.             {         // item 1:Open... 
  60.             1001,3,
  61.             1001,4,
  62.             0,0,
  63.             0,0
  64.             },
  65.         HMStringResItem
  66.             {         // item 2:Preferences... 
  67.             1001,5,
  68.             1001,6,
  69.             0,0,
  70.             0,0
  71.             },
  72.         HMSkipItem { },    //    Divider Line
  73.         HMStringResItem
  74.             {         // item 4:Quit 
  75.             1001,7,
  76.             1001,8,
  77.             0,0,
  78.             0,0
  79.             }
  80.         }
  81.     };
  82.  
  83. resource 'hmnu' (130,"Edit Menu")
  84.     {
  85.     HelpMgrVersion,
  86.     hmDefaultOptions,
  87.     0,
  88.     0,
  89.     HMSkipItem { },
  90.         {
  91.         HMStringResItem
  92.             {         // item 0:Edit Menu  
  93.             1002,1,
  94.             1002,2,
  95.             0,0,
  96.             0,0
  97.             },
  98.         HMStringResItem
  99.             {         // item 1:Undo 
  100.             1002,3,
  101.             1002,4,
  102.             0,0,
  103.             0,0
  104.             },
  105.         HMSkipItem { },
  106.         HMStringResItem
  107.             {         // item 3:Cut 
  108.             1002,5,
  109.             1002,6,
  110.             0,0,
  111.             0,0
  112.             },
  113.         HMStringResItem
  114.             {         // item 4:Copy 
  115.             1002,7,
  116.             1002,8,
  117.             0,0,
  118.             0,0
  119.             },
  120.         HMStringResItem
  121.             {         // item 5:Patse 
  122.             1002,9,
  123.             1002,10,
  124.             0,0,
  125.             0,0
  126.             },
  127.         HMStringResItem
  128.             {         // item 6:Clear 
  129.             1002,11,
  130.             1002,12,
  131.             0,0,
  132.             0,0
  133.             }
  134.         }
  135.     };
  136.  
  137. resource 'hdlg' (200,"Change Dialog")
  138.     {
  139.     HelpMgrVersion,
  140.     0,
  141.     hmDefaultOptions,
  142.     0,
  143.     0,
  144.     HMSkipItem { },
  145.         {
  146.         HMStringResItem
  147.             {         // item 1:OK 
  148.             {0,0},
  149.             {0,0,0,0},
  150.             2000,1,
  151.             0,0,
  152.             0,0,
  153.             0,0
  154.             },
  155.         HMStringResItem
  156.             {         // item 2:Cancel 
  157.             {0,0},
  158.             {0,0,0,0},
  159.             2000,2,
  160.             0,0,
  161.             0,0,
  162.             0,0
  163.             },
  164.         HMStringResItem
  165.             {         // item 3: Change To Creator Type 
  166.             {0,0},
  167.             {0,0,0,0},
  168.             2000,3,
  169.             0,0,
  170.             0,0,
  171.             0,0
  172.             },
  173.         HMStringResItem    
  174.             {         // item 4: Change to File Type 
  175.             {0,0},
  176.             {0,0,0,0},
  177.             2000,4,
  178.             0,0,
  179.             0,0,
  180.             0,0
  181.             },
  182.         HMStringResItem
  183.             {         // item 5: Current Creator Type
  184.             {0,0},
  185.             {0,0,0,0},
  186.             2000,5,
  187.             0,0,
  188.             0,0,
  189.             0,0
  190.             },
  191.         HMStringResItem
  192.             {        // item 6: Current FIle Type 
  193.             {0,0},
  194.             {0,0,0,0},
  195.             2000,6,
  196.             0,0,
  197.             0,0,
  198.             0,0
  199.             },
  200.         HMStringResItem
  201.             {         // item 7: Prefered Types List 
  202.             {0,0},
  203.             {0,0,0,0},
  204.             2000,7,
  205.             0,0,
  206.             0,0,
  207.             0,0
  208.             },
  209.         HMStringResItem
  210.             {         // item 8:Make Like... 
  211.             {0,0},
  212.             {0,0,0,0},
  213.             2000,8,
  214.             0,0,
  215.             0,0,
  216.             0,0
  217.             },
  218.         HMSkipItem { },             // item 9: Text, Change To: 
  219.         HMSkipItem { },             // item 10: Text, Current: 
  220.         HMSkipItem { },             // item 11: Text, Creator Type: 
  221.         HMSkipItem { },             // item 12: Text, File Type: 
  222.         HMSkipItem { },             // item 13: Text, Types List: 
  223.         HMSkipItem { }             // item 14: UserItem, for dialog re-draw:
  224.         }
  225.     };
  226.  
  227. resource 'hdlg' (400,"About Dialog")
  228.     {
  229.     HelpMgrVersion,
  230.     0,
  231.     hmDefaultOptions,
  232.     0,
  233.     0,
  234.     HMSkipItem { },
  235.         {
  236.         HMStringResItem
  237.             {         // item 1:OK 
  238.             {0,0},
  239.             {0,0,0,0},
  240.             2001,1,
  241.             0,0,
  242.             0,0,
  243.             0,0
  244.             },
  245.         HMPictItem
  246.             {
  247.             {0,0},
  248.             {0,0,0,0},
  249.             2001,
  250.             0,
  251.             0,
  252.             0
  253.             },
  254.         HMSkipItem { },
  255.         HMSkipItem { }            // item 4: UserItem, for dialog re-draw:
  256.         }
  257.     };
  258.  
  259. resource 'hdlg' (500,"Preferences")
  260.     {
  261.     HelpMgrVersion,
  262.     0,
  263.     hmDefaultOptions,
  264.     0,
  265.     0,
  266.     HMSkipItem { },
  267.         {
  268.         HMStringResItem
  269.             {         //  item 1: Preference pop-up selector
  270.             {0,0},
  271.             {0,0,0,0},
  272.             2005,1,
  273.             0,0,
  274.             0,0,
  275.             0,0
  276.             },
  277.         HMSkipItem { },
  278.         HMSkipItem { },
  279.         HMSkipItem { },
  280.         HMSkipItem { },
  281.         HMSkipItem { }
  282.         }
  283.     };
  284.  
  285. resource 'hwin' (200)
  286.     {
  287.     HelpMgrVersion,
  288.     0,
  289.         {
  290.         200,    'hdlg',    13,    "Change Dialog"
  291.         }
  292.     };
  293.  
  294. resource 'hwin' (400)
  295.     {
  296.     HelpMgrVersion,
  297.     0,
  298.         {
  299.         400,    'hdlg',    12,    "About Dialog"
  300.         }
  301.     };
  302.  
  303. resource 'hwin' (500)
  304.     {
  305.     HelpMgrVersion,
  306.     0,
  307.         {
  308.         500,    'hdlg',    11,    "Preferences"
  309.         }
  310.     };